[IA64] Recompile asm-offsets.h at correct time
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:20:25 +0000 (10:20 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:20:25 +0000 (10:20 -0700)
Recompile asm-offsets.h when header files are changed. Currently it's not
recompiled even when important strutures changes after "hg pull" and thus
make interface mismatch between xen and xenlinux. I've encountered several
times after boring debug to find the reason.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/ia64/Makefile

index 444f4eb30bd2e2cb31f4997dc40e48be61eea68a..05a0a4aa2fb242dee824c1f0d32a1c4205dbfe96 100644 (file)
@@ -25,8 +25,7 @@ $(TARGET): $(TARGET)-syms
        $(NM) -n $(TARGET)-syms | grep -v '\( [aUw] \)\|\(__crc_\)\|\( \$[adt]\)'\
                 > $(BASEDIR)/System.map
 
-
-asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
+asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h $(HDRS)
        $(CC) $(CFLAGS) -S -o $@ $<
 
 asm-xsi-offsets.s: asm-xsi-offsets.c